<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/6/24
  Time: 19:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Result</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="js/jquery-1.11.3.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</head>
<body>
<br/>
<div class="container-fluid">

    <div class="row">
        <div class="col-md-4 col-md-offset-4">
            <p style="font-size: 20px;font-weight: bold; text-align: center">模型推理结果：</p>
        </div>
    </div>
<br/>
    <div class="row">
        <div class="col-md-2 col-md-offset-3">
            <p >NO.</p>
        </div>
        <div class="col-md-3">
            <p >&nbsp;&nbsp;真实值</p>
        </div>
        <div class="col-md-4">
            <p >&nbsp;&nbsp;推理值</p>
        </div>
    </div>

    <div class="row">
        <div class="col-md-2 col-md-offset-3">
            <table>
                <% for(int i=1;i<=Integer.valueOf(request.getSession().getAttribute("dataList_Size").toString());i++) { %>
                <tr>
                    <td>
                        <br/>
                        <%= i %>
                        <br/>
                    </td>
                </tr>
               <% } %>
            </table>
        </div>

        <div class="col-md-3">
            <table>
                <c:forEach items="${sessionScope.Actual_Result}" var="item">
                    <tr>
                        <td>
                            <br/>
                                ${item}
                            <br/>
                        </td>
                    </tr>
                </c:forEach>
            </table>
        </div>

        <div class="col-md-4">
            <table>
                <c:forEach items="${sessionScope.Inference_Result}" var="item">
                    <tr>
                        <td>
                            <br/>
                                ${item}
                            <br/>
                        </td>
                    </tr>
                </c:forEach>
            </table>
        </div>

    </div>

</div>

<br/>
<br/>
<div class="btn-group" role="group" aria-label="..." style="margin-left: 47%">
    <a type="button" class="btn btn-primary" href="Step2.jsp"> 返回步骤2 </a>
</div>
<br/>
<br/>


</body>

<style>

    p{
        font-weight: bold;
        font-size: 15px;
        /*text-align: center;*/
    }

    tr{

        text-align: center;
    }
    td{

        text-align: center;
    }

    th{
        text-align: center;
    }

</style>

</html>
